.main-doc{
  min-height: 100vh;
  flex: 1;
  overflow: auto;
  padding-top: 80px;
  padding-left: 300px;
  padding-right: 40px;
}

@media(max-width: 500px) {
  .main-doc{
    padding: 80px 6px 0 6px;
  }
}